package com.neusoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.model.CommentSearch;
import com.neusoft.po.Comment;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 评论DAO
 *
 * @author Lucifer
 * @since 2021/5/15 23:25
 */
@Repository
public interface CommentMapper extends BaseMapper<Comment> {

    List<Comment> list(CommentSearch commentSearch);

    Integer examine(@Param("ids") Integer[] ids);
}
